package com.cb.eduservice.entity.chapter;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 章节
 *
 * @author cb
 * @version 1.0
 * @date 2020/6/23 15:14
 */
@Data
@Api(description = "章节数据")
public class ChapterVo {

    @ApiModelProperty(value = "章节ID")
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "显示排序")
    private Integer sort;

    @ApiModelProperty(value = "小节集合")
    private List<VideoVo> children = new ArrayList<>();

}
